package deibay.server.frontend.commands;

import deibay.messages.Message;
import deibay.messages.SendAdvertiseMsg;
import deibay.server.frontend.FrontEndCore;
import deibay.users.User;

public class SendAdvertiseCommand extends Command{

	public SendAdvertiseCommand(User user, Message msg) {
		super(user, msg);
	}

	@Override
	public void execute() {		
		SendAdvertiseMsg msg = (SendAdvertiseMsg)message;
		FrontEndCore.getInstance().getClientsManager().sendAdvertise(msg);
	}

}
